package com.quanquan.user.service.autoCompute.repository;

import com.quanquan.user.service.autoCompute.entity.MemberLabel;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

/**
 * @author gongzhou
 * @title: MemberLabelRepository
 * @projectName fuyang
 * @description: TODO
 * @date 2019/6/2210:24
 */
public interface MemberLabelRepository extends CrudRepository<MemberLabel, String>, JpaSpecificationExecutor<MemberLabel> {

    List<MemberLabel> findByIdIn(List<String> ids);

    List<MemberLabel> findAllByIsRemovedFalse();

    void deleteAllByIdIn(List<String> ids);

}
